From: Jonny Lamb Date: Thu, 5 May 2011 12:19:59 +0000 (+0100) Subject: telepathyClient: don't notify for delivery reports X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8264 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2244b6ff1b2233485a55c1a9de611da071df29c8;p=gnome-shell.git telepathyClient: don't notify for delivery reports Signed-off-by: Jonny Lamb --- diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index 5e3f33c97..cee808242 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -289,6 +289,9 @@ Source.prototype = { }, _messageReceived: function(channel, message) { + if (message.get_message_type() == Tp.ChannelTextMessageType.DELIVERY_REPORT) + return; + message = makeMessageFromTpMessage(message, NotificationDirection.RECEIVED); this._notification.appendMessage(message); this.notify();